<?php

if (!session_id()) {
    session_start();
}
if (!isset($_SESSION['admin_info'])) {
    echo "<script>alert('非法登录！请登录后操作！');location='admin_login.html';</script>";
    exit;
}
?>